include_rules = [
  "+components/feature_engagement",
  "+components/google/core/common/google_util.h",
  "+components/grit/components_scaled_resources.h",
  "+components/history/core/browser",
  "+components/infobars/core",
  "+components/keyed_service/core",
  "+components/language/core/browser",
  "+components/leveldb_proto",
  "+components/metrics",
  "+components/profile_metrics",
  "+components/policy",
  "+components/security_state",
  "+components/security_interstitials/core/pref_names.h",
  "+components/signin/public",
  "+components/sync",
  "+components/translate/core/browser",
  "+components/translate/core/common",
  "+components/variations",
  "+components/version_info",
  "+components/webdata/common",
  "+components/webdata_services",
  "+components/messages/android/messages_feature.h",
  "+crypto/hkdf.h",
  "+crypto/random.h",
  "+google_apis/gaia",
  "+google_apis/google_api_keys.h",
  "+net",
  "+services/metrics/public",
  "+services/network/public",
  "+services/network/test",
  "+sql",
  "+third_party/libaddressinput", # For address i18n.
  "+third_party/libphonenumber",  # For phone number i18n.
  "+third_party/re2",
  "+ui/accessibility",
  "+ui/base",
  "+ui/gfx",
]

specific_include_rules = {
  ".*test.(cc|h)": [
    "+content/public/test",
  ],
  "autofill_download_manager_unittest\.cc": [
    "+services/network/test",
  ],
  "autofill_manager_unittest\.cc": [
    "+components/ukm",
  ],
  "autofill_metrics_unittest\.cc": [
    "+components/ukm",
  ],
  "(test_)?credit_card_fido_authenticator\.(cc|h)": [
    "+device/fido/authenticator_selection_criteria.h",
    "+device/fido/fido_constants.h",
    "+device/fido/fido_types.h",
    "+third_party/blink/public/mojom/webauthn",
  ],
  "(test_)?internal_authenticator\.h": [
    "+device/fido/fido_constants.h",
    "+third_party/blink/public/mojom/webauthn",
  ],
  "autofill_driver\.h": [
    "+third_party/blink/public/mojom/webauthn",
  ],
  "test_autofill_driver\.h": [
    "+components/autofill/content/browser/content_autofill_driver.h"
  ],
  "credit_card_access_manager_unittest\.cc": [
    "+content/public/test",
  ],
  "credit_card_save_manager_unittest\.cc": [
    "+components/ukm",
  ],
  "test_autofill_client\.h": [
    "+components/ukm",
  ],
  "password_requirements_spec_fetcher_unittest\.cc": [
    "+services/network/test",
  ],
  "autofill_image_fetcher(_unittest)?\.cc": [
    "+components/image_fetcher",
  ],
}
